﻿<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeFile="tab_TagConfig_Add.aspx.cs" Inherits="AdminCMS_tab_TagConfig_Add" %>

<%@ Register Src="~/UIControls/WUC_DialogTextBox.ascx" TagName="WUC_DialogTextBox"
    TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>添加标签配制</title>

    <script type="text/javascript" src="js/UIMethod.js"></script>
</head>
<body style="text-align:center;">
<link id="mylink" href="css/style<%=UIMethod.GetStyleValue()%>.css" type="text/css" rel="stylesheet"/>

<form id="form1" runat="server">

<div style="width:720px;">
	<div class="title_right2" style="padding-left:35px; padding-top:5px; text-align:left;">
		<span class="title_maintxt"><b>添加标签配制</b></span>
	</div>	
	<table cellSpacing="0" cellPadding="0" width="100%" class="border">
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">标签名称：</td>
			<td style="text-align:left;">
			<asp:TextBox ID="tag_TagName" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tag_TagName">不能为空</asp:RequiredFieldValidator>
			</td>
		</tr>
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">描述：</td>
			<td style="text-align:left;">
			<asp:TextBox ID="tag_Description" runat="server" Height="80px" TextMode="MultiLine" Width="300px"></asp:TextBox>
			</td>
		</tr>
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">数据来源：</td>
			<td style="text-align:left;">
			<asp:DropDownList ID="tag_IsGetSource" runat="server">
			    <asp:ListItem Value="0" Selected="true">否</asp:ListItem>
			    <asp:ListItem Value="1">是</asp:ListItem>
			</asp:DropDownList>	
			</td>
		</tr>
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">数据源编号：</td>
			<td style="text-align:left;">
			<uc1:WUC_DialogTextBox ID="tag_SourceID" runat="server" DialogHeight="150" DialogTitle="选择数据源" DialogURL="../SControls/SelectDataSource.aspx" DialogWidth="500" Text="1" ValidateNumber="true" />
			</td>
		</tr>
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">循环次数：</td>
			<td style="text-align:left;">
			<asp:TextBox ID="txt_RepeatTimes" runat="server">0</asp:TextBox>
			</td>
		</tr>
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">显示标记：</td>
			<td style="text-align:left;">
			<asp:DropDownList ID="tag_IsSignShow" runat="server">
			    <asp:ListItem Value="0" Selected="true">否</asp:ListItem>
			    <asp:ListItem Value="1">是</asp:ListItem>
			</asp:DropDownList>		
			
			&nbsp;
			<a href="tagdoc.html" target="_blank" style="color:Red; background-color:Yellow; padding:2px;">自定义标签说明</a>
			
			</td>
		</tr>
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">数据模板：</td>
			<td style="text-align:left;">
			<asp:TextBox ID="tag_DataTemplate" runat="server" Height="250px" TextMode="MultiLine" Width="500px"></asp:TextBox>
                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tag_DataTemplate">*</asp:RequiredFieldValidator>
			</td>
		</tr>
		
		<tr>
			<td></td>
			<td style="text-align:left; height:50px;">
			<asp:Button ID="btn_submit" runat="server" Text="确定" OnClick="btn_submit_Click" />
			</td>
		</tr>
	</table>
	<!--大表格End-->
	<!--阴影-->
	<div style="width:98%;" class="tdbg_left2">
	</div>
	<!--阴影end-->
</div>

</form>
</body>
</html>